package payroll.trans;

import payroll.Employee;
import payroll.Transaction;

public class ChangeAddressTransaction extends ChangeEmployeeTransaction implements Transaction {
	private String address;
	public ChangeAddressTransaction(int empId, String address) {
		super(empId);
		this.address=address;
	}

	@Override
	protected void doChange(Employee e){
		e.setAddress(address);
	}

}
